package com.jl.design.pattern.creational.factorymethod;

/**
 * 普通工厂模式，解决创建子类在工厂里面，应该交由子类去创建
 */
public class Test {
    public static void main(String[] args) {
        VideoFactory videoFactory = new JavaVideoFactory();
        videoFactory.getVideo().porduce();
    }
}
